<script setup>
import {menuStore} from "@/views/Menu/menu";
import {homeStore} from "@/views/Home/home";

const menu = menuStore()
const home = homeStore()

</script>

<template>
  <div style="display:flex;">
  <div>
    <el-menu
        default-active="1"
        class="el-menu-vertical-demo"
        :collapse="false"
        :style="{height: menu.size + menu.unit, width: '100px'}"
    >
      <el-menu-item index="1">
        <router-link style="  text-decoration: none; color: inherit;" :to="{ name: 'search' }">
          <span>搜索设置</span>
        </router-link>
      </el-menu-item>
    </el-menu>
  </div>
  <div>
    <router-view/>
  </div>
  </div>
</template>

<style scoped>

</style>